/*
 * @描述: 
 * @创建者: kilomChou
 * @Date: 2021-05-13 22:09:43
 * @最后编辑: kilomChou
 * @LastEditTime: 2021-05-13 22:14:16
 */

import EventDispatcher from "../core/event/EventDispatcher";
import Timer from "../core/timer/Timer";
import { GameEventDef } from "./event/GameEvent";

/** 游戏全局 */
export default class GameGlobal {

    /** 定时器 */
    readonly timer = new Timer();
    /** 事件派发器 */
    readonly ed = new EventDispatcher<GameEventDef>();
    /** 两帧之间的时间间隔，单位秒 */
    dt = 0;

}